﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
   public class Order
        {
        [Key]
        public int OrderId { get; set; }
        [StringLength(50)]
        [Required]     
        public string OrderBianHao { get; set; }
        
        [Required]
        public DateTime CreateTime { get; set; }
        [StringLength(50)]
        [Required]
        public string Address { get; set; }
        [Required]
        public int CustomerId { get; set; }
        [StringLength(50)]
        [Required]
        public string Phone { get; set; }
        [StringLength(50)]
        [Required]
        public string  FaHuoZhuangTai { get; set; }
        [StringLength(50)]
        [Required]
        public string ZhiFuZhuangTai { get; set; }
        [StringLength(50)]
        [Required]
        public string KeHuName { get; set; }

    }
}
